package com.giraffe.mqtt.queue;

import com.giraffe.mqtt.bean.SendMqttMessage;
import lombok.Data;
import org.springframework.context.ApplicationEvent;

import java.time.Clock;

@Data
public class MessageEvent extends ApplicationEvent {

    private SendMqttMessage message;

    public MessageEvent(Object source) {
        super(source);
    }

    public MessageEvent(Object source, Clock clock) {
        super(source, clock);
    }
}
